
<?php if ($this->postEntry): $p = $this->postEntry; ?>
<div class="post-entry">
<div class="post-author"><img src="<?php echo $p->creatorAvatarUrl; ?>" alt="<?php echo $p->creatorName; ?>" /></div>
<div class="post-content">
    <small><strong><a href="<?php echo $p->creatorUrl; ?>"><?php echo $p->creatorName; ?></a></strong>
 &bull; <?php echo $this->relTimeString($p->time); ?>
<?php if ($p->hostLinkVisible === TRUE): ?>
 &bull; <a href="<?php echo $p->hostUrl; ?>"><?php echo $p->hostName; ?></a>
<?php endif; ?>
<?php if ($p->editLinkUrl): ?>
 &bull; <a href="<?php echo $p->editLinkUrl; ?>">Edit</a>
<?php endif; ?>
<?php if ($p->deleteLinkUrl): ?>
 &bull; <a href="<?php echo $p->deleteLinkUrl; ?>">Delete</a>
<?php endif; ?>
	</small>
  <div class="post-body"><?php echo $p->content; ?></div>
</div>
<div class="clear"></div>
<div class="mg_lf_m">
<?php
	$reqParams = array(
		'post_host_class' => $this->hostClassIdName,
		'post_host_id' => $this->hostId,
		'post_class' => 'comment',
		'post_parent_id' => $p->id,
		'post_sort_mode' => 'oldest',
        'post_form_inline' => 1,
	);
	echo $this->action('list', 'index', 'post', $reqParams);
?>
</div>
<div class="clear"></div>
</div>
<?php endif; ?>


